<?php

use Carbon\Carbon;
use Illuminate\Database\Seeder;

class AdminsTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('admins')->insert([[
            'name'       => 'admin',
            'email'      => 'admin@admin.com',
            'is_super'   => 'T',
            'password'   => bcrypt('admin'),
            'created_at' => Carbon::now(),
            'updated_at' => Carbon::now()
        ], [
            'name'       => 'luohao',
            'email'      => '474664638@qq.com',
            'is_super'   => 'F',
            'password'   => bcrypt('qqqqqq'),
            'created_at' => Carbon::now(),
            'updated_at' => Carbon::now()
        ], [
            'name'       => 'rovast',
            'email'      => 'rovast@163.com',
            'is_super'   => 'F',
            'password'   => bcrypt('qqqqqq'),
            'created_at' => Carbon::now(),
            'updated_at' => Carbon::now()
        ]]);
    }
}
